function onMapInitComplete() {
  mapportal.addWMSLayer('spandan-bip.map', 'spandan_bip_polygon');
  mapportal.addWMSLayer('spandan-bip.map', 'spandan_bip_point');
}

jQuery(document).ready(function() {
  if (typeof mapportal.onMapInitComplete == "boolean") {
    onMapInitComplete();
  }
  else {
    mapportal.onMapInitComplete = onMapInitComplete;
  }
 
});
